﻿@using Less.Util
@using LessBoard.Models
@model StatusModel
@if (Model.ApplicationStatus.Messages.HasValue() == false)
{
    <h4 class="alert_success">No messages worrying</h4>
}
else
{
    <h4 class="alert_error">There are @Model.ApplicationStatus.NumCoreErrors core Errors</h4>
    foreach (string message in Model.ApplicationStatus.Messages)
    {
        <h4 class="alert_warning">message</h4>
    }
}
<h4 class="alert_info">App Started at @Model.ApplicationStatus.Created.ToShortTimeString()</h4>
<h4 class="alert_info">Last Sesion at @Model.ApplicationStatus.Loaded.ToShortTimeString()</h4>
<h4 class="alert_info">Work Directory: @Model.ApplicationStatus.WorkDirectory</h4>
<h4 class="alert_info">Bin Directory: @Model.ApplicationStatus.AppDirectory</h4>